package com.gxgeek.javabasic.base.fatherandchild;

/**
 * Created by gx on 2017/7/20.
 */
public class FatherClass {
    public FatherClass() { System.out.println("FatherClass Create");} ;
}

class ChildClass extends FatherClass {
    public ChildClass()
    {
        System.out.println("ChildClass Create");
    }
    public static void main(String[] args)
    {
        FatherClass fc = new FatherClass();
        ChildClass cc = new ChildClass();
    }
}
